package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallPayCreditDao;
import com.appkubes.mall.core.entity.MallPayCredit;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallPayCreditService extends AbstractBaseService<BaseMallPayCreditDao, MallPayCredit> {

    MallPayCredit getOneByEntity(MallPayCredit entity);

    List<MallPayCredit> selectListByEntity(MallPayCredit entity);

    IPage<MallPayCredit> selectPageByEntity(IPage<MallPayCredit> page);
    IPage<MallPayCredit> selectPageByEntity(PageVO pageVO);

    IPage<MallPayCredit> selectPageByEntity(MallPayCredit entity, IPage<MallPayCredit> page);
    IPage<MallPayCredit> selectPageByEntity(MallPayCredit entity, PageVO pageVO);

    IPage<MallPayCredit> selectPageByEntity(MallPayCredit entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallPayCredit entity);
}
